Spread Windows Forms 15.0
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / IReferenceSource Interface / GetValue Method / GetValue(IEvaluationContext,Int32,Int32,Int32,Int32,CellValue[],Int32) Method
An EvaluationContext object indicates the evaluation context.
An integer value indicates the top row index of the 2-dimensions matrix.
An integer value indicates the left column index of the 2-dimensions matrix.
An integer value indicates the bottom row index of the 2-dimensions matrix.
An integer value indicates the right column index of the 2-dimensions matrix.
An CellValue array represents the values at the specified range.
The start item index to write data.


In This Topic
    GetValue(IEvaluationContext,Int32,Int32,Int32,Int32,CellValue[],Int32) Method
    In This Topic
    Gets the values at the specified range of the 2-dimensions matrix.
    Syntax
    'Declaration
     
    
    Overloads Sub GetValue( _
       ByVal context As IEvaluationContext, _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal row2 As Integer, _
       ByVal column2 As Integer, _
       ByVal result() As CellValue, _
       Optional ByVal index As Integer _
    ) 
    'Usage
     
    
    Dim instance As IReferenceSource
    Dim context As IEvaluationContext
    Dim row As Integer
    Dim column As Integer
    Dim row2 As Integer
    Dim column2 As Integer
    Dim result() As CellValue
    Dim index As Integer
     
    instance.GetValue(context, row, column, row2, column2, result, index)

    Parameters

    context
    An EvaluationContext object indicates the evaluation context.
    row
    An integer value indicates the top row index of the 2-dimensions matrix.
    column
    An integer value indicates the left column index of the 2-dimensions matrix.
    row2
    An integer value indicates the bottom row index of the 2-dimensions matrix.
    column2
    An integer value indicates the right column index of the 2-dimensions matrix.
    result
    An CellValue array represents the values at the specified range.
    index
    The start item index to write data.
    See Also